import HttpRequest from '@/libs/axios'
import config from '@/config'

// export const baseUrl = process.env.NODE_ENV === 'development' ? config.baseUrl.dev : config.baseUrl.pro
const env = process.env.VUE_APP_ENV

export const baseUrl = config.baseUrl[env]
const axios = new HttpRequest(baseUrl)
export default axios
